package com.itheima.service;

import com.itheima.domain.entity.Follow;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domain.vo.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 坤哥
 * @since 2025-10-06
 */
public interface IFollowService extends IService<Follow> {
    /**
     * 查询用户是否关注
     */
    Result queryIsFollowed(Long followedUserId);
    /**
     * 用户关注功能
     */
    Result follow(Long followedUserId, Boolean isFollow);
    /**
     * 查询共同关注
     */
    Result queryCommonFollowed(Long blogUserId);
}
